package com.it.tydic.estate.module.service;

import com.it.tydic.estate.common.aop.Result;
import com.it.tydic.estate.module.model.inner.TbWxglDjb;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * 维修管理 service
 * Created by jinghongtao on 2020/3/3.
 */
public interface WxglDjbService {
    //条件分页查询
    public Result queryByPage(Map<String,Object> record);
    //条件查询维修数量统计
    public Result selectCountWx(Map<String,Object> record);

    //回访 Excel导出
    void excelExport(TbWxglDjb record, HttpServletResponse response) throws Exception;
    // 统计Excel导出
    void numExport(Map<String,Object> record, HttpServletResponse response) throws Exception;
    //根据id查询
    Result selectByPrimaryKey(String id);
    //根据id 删除
    Result deleteById(String id);
    //逻辑删除单条
    Result deleteUp(String id);
    //根据id 作废
    Result cancellationData(String id);
    //根据id 恢复
    Result recoverData(String id);
    //批量删除
    Result deleteByIds(String[] ids);
    //根据id更新
    Result updateData(TbWxglDjb record);
    //保存
    Result saveDate(TbWxglDjb record);
}
